<template>
  <div class="User">
    <h1>用户中心</h1>
    <button @click="backBtn">退出</button>
  </div>
</template>

<script>
import { removeToken } from '../utils/auth'
export default {
  methods: {
    backBtn() {
      removeToken()
      this.$router.push({
        name: 'Login'
      })
    }
  }
}
</script>

<style>
</style>
